import BaseAction from "../../../base/BaseAction";
import {Message} from "../../../biz/Components";

export default class Action extends BaseAction {

    constructor(page) {
        super(page, "jstack");
    }

    // 配置 - 列表
    chooseFile(callback) {
        super.aardioCall("chooseFile").then(rsp => {
            Message.success("解析成功");
            console.log(rsp)
            let data = JSON.parse(rsp);
            if (callback) {
                callback(data);
                return;
            }
        });
    }
}